#ifndef IXVERTEXBUFFER
#define IXVERTEXBUFFER
#include "XObject.h"
class XM_ENTRY XVertexBuffer : public XObject{
protected:
	UINT u_size;
	UINT u_FVF;
public:
	virtual void SetVertexBuffer(XVertexBuffer* ptr_indexbuffer) = 0;
	virtual void SetSourceBuffer(void* ptr_buffer, int i_offest, int i_size) = 0;
	virtual void GetSourceBuffer(void** ptr_buffer) = 0;
	//virtual void* GetBaseVertexBuffer() = 0;
	virtual void SetSize(UINT size){ u_size = size; };
	virtual UINT GetSize(){ return u_size; };
	virtual void SetFVF(UINT FVF){u_FVF = FVF;};
	virtual UINT GetFVF(){ return u_FVF; };
};
#endif